package com.zhanghp.demo01.generic.lab02;

/**
 * @author zhanghp
 * @date 2022-08-26 15:03
 */
public enum WeatherType {
    SUNNY("SUNNY"),
    RAIN("RAIN");

    private final String description;

    WeatherType(String description) {
        this.description = description;
    }

    public String getDescription(){
        return this.description;
    }

    @Override
    public String toString() {
        return this.name().toLowerCase();
    }
}
